/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dataanalysis.gui.methoddlg;

import weka.core.Capabilities;
import weka.gui.GenericObjectEditor;

/**
 *
 * @author Administrator
 */
public class MyObjectEditor extends GenericObjectEditor{

    public MyObjectEditor(Class type, Object initial){
        super(false);
        GenericObjectEditor.registerEditors();
        this.setClassType(type);
        this.setValue(initial);
        this.setCapabilitiesFilter(new Capabilities(null));
    }
}
